#ifndef TESTER_H
#define TESTER_H

#define DISABLE_SERIAL_RESET

//#define SERIAL_AUTO_DEBUG

#define DISABLE_SERIAL_AUTO

enum{
	AM_TESTERMSG = 7,
	HEARTBEATTIME = 500,
	
	MC_IN = 0x64,
	MC_OUT = 0x65,
	MC_LOW = 0x66,
	MC_HIGH = 0x67,
	MC_GET = 0x68,
	MC_ADC = 0x69,	

	MC_INT3 = 0x21,
	MC_INT2 = 0x22,
	MC_INT1 = 0x23,
	MC_INT0 = 0x24,
	MC_Led3Pin=0x25,
	MC_Led2Pin=0x26,
	MC_Led1Pin=0x27,
	MC_USART1_CLK=0x28,
	MC_SPI_MOSI=0x29,
	MC_SPI_MISO=0x30,
	MC_SPI_CLK=0x31,
	MC_USART1_RXD=0x32,
	MC_USART1_TXD=0x33,
	MC_I2C_CLK=0x34,
	MC_I2C_DATA=0x35,
	MC_UART0_RXD=0x36,
	MC_UART0_TXD=0x37,
	MC_PW0=0x38,
	MC_PW2=0x39,
	MC_PW3=0x40,
	MC_PW4=0x41,
	MC_PW5=0x42,
	MC_Adc3=0x43,
	MC_Adc2=0x44,
	MC_Adc1=0x45,

};

typedef nx_struct testerSETPORTt
{
  nx_uint8_t port;
  nx_uint8_t parancs;
} testerSETPORTt;

typedef nx_struct testerADCt
{
  nx_uint16_t port;
  nx_uint16_t parancs;
  nx_uint16_t parancs1;
} testerADCt;


#endif

